Skip to content

fix(ui): add a copy button to the terminal CodeBlock variant - #9

Open
Ali (alifayed02) wants to merge 1 commit into
mainfrom
fix/terminal-code-block-copy
Open

fix(ui): add a copy button to the terminal CodeBlock variant#9
Ali (alifayed02) wants to merge 1 commit into
mainfrom
fix/terminal-code-block-copy

Conversation

@alifayed02

Copy link
Copy Markdown
Member

CodeBlock rendered a copy button only in its editor variant; terminal had none and no prop to opt in. Adds one to the terminal header, using the component's own CopyButton, plus a test so it can't regress.

Consumed by elide-dev/WHIPLASH#1721, where three docs snippets are uncopyable because of this.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 778545a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant